package com.ruoyi.business.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class BusCustomerDetail implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long customerId;

    @Excel(name = "客户名称",sort = 1)
    private String customerName;

    @Excel(name = "付款方式",width = 60 ,dictType = "bus_payment_type" ,sort = 2)
    private String paymentType;

    @Excel(name = "合同金额",sort = 3,cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal contractSum;

    @Excel(name = "已收货款",sort = 7,cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal collectionSum;

    @Excel(name = "已收款比例%",sort = 8,cellType = Excel.ColumnType.NUMERIC,scale = 0)
    private Integer collectionProportion;

    @Excel(name = "已开票金额",sort = 4,cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal invoiceSum;

    @Excel(name = "未开票金额",sort = 5,cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal noInvoiceSum;

    @Excel(name = "已开票比例%",sort = 6,cellType = Excel.ColumnType.NUMERIC,scale = 0)
    private Integer invoiceProportion;

    @Excel(name = "应收/预收款",sort = 9,cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal receivables;

    @Excel(name = "所欠货款",sort = 10,cellType = Excel.ColumnType.NUMERIC)
    private BigDecimal debt;

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(String paymentType) {
        this.paymentType = paymentType;
    }

    public BigDecimal getContractSum() {
        return contractSum;
    }

    public void setContractSum(BigDecimal contractSum) {
        this.contractSum = contractSum;
    }

    public BigDecimal getCollectionSum() {
        return collectionSum;
    }

    public void setCollectionSum(BigDecimal collectionSum) {
        this.collectionSum = collectionSum;
    }

    public Integer getCollectionProportion() {
        return collectionProportion;
    }

    public void setCollectionProportion(Integer collectionProportion) {
        this.collectionProportion = collectionProportion;
    }

    public BigDecimal getInvoiceSum() {
        return invoiceSum;
    }

    public void setInvoiceSum(BigDecimal invoiceSum) {
        this.invoiceSum = invoiceSum;
    }

    public BigDecimal getNoInvoiceSum() {
        return noInvoiceSum;
    }

    public void setNoInvoiceSum(BigDecimal noInvoiceSum) {
        this.noInvoiceSum = noInvoiceSum;
    }

    public Integer getInvoiceProportion() {
        return invoiceProportion;
    }

    public void setInvoiceProportion(Integer invoiceProportion) {
        this.invoiceProportion = invoiceProportion;
    }

    public BigDecimal getReceivables() {
        return receivables;
    }

    public void setReceivables(BigDecimal receivables) {
        this.receivables = receivables;
    }

    public BigDecimal getDebt() {
        return debt;
    }

    public void setDebt(BigDecimal debt) {
        this.debt = debt;
    }
}
